package com.xls.dormitoryservice.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xls.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xls
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Room对象", description="")
public class Room extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "区域")
    private String building;

    @ApiModelProperty(value = "楼层")
    private String floor;

    @ApiModelProperty(value = "宿舍号")
    private Integer rno;

    @ApiModelProperty(value = "当前人数")
    private Integer current;

    @ApiModelProperty(value = "容量")
    private Integer capacity;

    @ApiModelProperty(value = "图片")
    private String url;

}
